package com.fanshuai.mybatis_plus.repository;

import com.fanshuai.mybatis_plus.domain.UserToken;

public interface UserTokenRepository {
    void insert(UserToken token);
    void update(UserToken token);

    UserToken query(long uid, int client);
    UserToken queryByAccessToken(String accessToken);
    UserToken queryByRefreshToken(String refreshToken);
}
